package cn.darkhorse.device.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 设备产能信息
 * </p>
 *
 * @author maoguanjun
 * @since 2022-11-29
 */
@Getter
@Setter
  @TableName("mes_capacity_info")
@ApiModel(value = "MesCapacityInfo对象", description = "设备产能信息")
public class MesCapacityInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("所属部门")
      private Long dept;

      @ApiModelProperty("设备id")
      private Long deviceId;

      @ApiModelProperty("设备名称")
      private String deviceName;

      @ApiModelProperty("设备代号")
      private String deviceMark;

      @ApiModelProperty("设备编号")
      private String deviceCode;

      @ApiModelProperty("规格/型号")
      private String deviceModel;

      @ApiModelProperty("计划产能")
      private BigDecimal planedCapacity;

      @ApiModelProperty("实际产能")
      private BigDecimal actualCapacity;

      @ApiModelProperty("合格产能")
      private BigDecimal qualifiedCapacity;

      @ApiModelProperty("订单编号")
      private String orderNum;

      @ApiModelProperty("产能日期")
      private LocalDateTime capacityDate;

      @ApiModelProperty("制单人")
      private Long creator;

      @ApiModelProperty("制单部门")
      private Long creatorDept;

      @ApiModelProperty("制单日期")
      private LocalDateTime creatorDate;

      @ApiModelProperty("创建日期")
      private LocalDateTime gmtCreate;

      @ApiModelProperty("修改日期")
      private LocalDateTime gmtModify;

      @ApiModelProperty("设备类型")
      private Long deviceType;

      @ApiModelProperty("年份")
      private Integer year;

      @ApiModelProperty("月份")
      private Integer month;

      @ApiModelProperty("年月")
      private Integer yearMonth;
}
